2e7b32acc0f59f4c4c301347fbbc9fde82c4175f,public/java/src/org/broadinstitute/sting/utils/nanoScheduler/NanoScheduler.java,NanoScheduler,shutdown,#,116
Before Change
outsideSchedulerTimer.stop();
shutdownExecutor("inputExecutor", inputExecutor);
shutdownExecutor("mapExecutor", mapExecutor);
shutdownExecutor("reduceExecutor", reduceExecutor);
shutdown = true;
After Change
public void shutdown() {
outsideSchedulerTimer.stop();
if ( nThreads > 1 ) {
shutdownExecutor("inputExecutor", inputExecutor);
shutdownExecutor("mapExecutor", mapExecutor);
shutdownExecutor("reduceExecutor", reduceExecutor);
}
shutdown = true;